package com.hqyj.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * Created by zyq
 * Time:2022/9/30 14:51
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
public class ResponseResult {
    private String msg;
    private int code;
    private Object data;

    public ResponseResult(AppHttpCodeEnum appHttpCodeEnum,Object data){
        this.msg = appHttpCodeEnum.getMsg();
        this.code = appHttpCodeEnum.getCode();
        this.data = data;
    }

}
